package com.winit.need.mapper;

import com.winit.need.model.Need;
import com.winit.need.model.NeedPage;

import java.util.List;

public interface NeedPageMapper {
    int deleteByPrimaryKey(String id);

    int insert(NeedPage record);

    int insertSelective(NeedPage record);

    Need selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NeedPage record);

    int updateByPrimaryKeyWithBLOBs(NeedPage record);

    int updateByPrimaryKey(NeedPage record);

    int deleteByNeedId(String needId);

    void insertByBatch(List<NeedPage> needPageList);

    List<NeedPage> getByNeedId(String needId);

}